body {
  /* 购物车按钮 */
  /* 轮播图片 */
  /* 显示遮罩层和登录框 */
  /* 登录弹窗容器 */
  /* 标题和关闭按钮 */
  /* 登录内容 */
  /* 输入框样式 */
  /* 按钮样式 */
  /* 注册链接和按钮组合 */
}
body .top-bar-header {
  width: 100%;
  line-height: 30px ;
  text-align: right ;
  padding-right: 60px ;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-end;
  /* 靠右对齐 */
  align-items: center;
  height: 40px;
  background-color: #f5f5f5;
  padding: 0 50px;
  font-size: 14px;
  border-bottom: 1px solid #e8e8e8;
}
body .top-bar-header .top-bar-header-a {
  display: inline-block;
  margin-left: 20px;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
}
body .top-bar-header .top-bar-header-a .login {
  color: red;
  margin-left: 10px;
  margin-right: 10px;
  cursor: pointer;
  margin: 0 5px;
}
body .top-bar-header .car {
  margin-left: 30px;
  margin-right: 30px;
}
body .swiper {
  height: 435px;
}
body .layui-col-xs3 img {
  width: 80px;
  height: 80px;
}
body .logo {
  width: 9vw;
}
body .search-input-wrapper {
  display: flex;
  align-items: center;
  height: 48px;
  border: 2px solid gainsboro;
  /* 主题蓝色边框 */
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease;
}
body .search-input-wrapper input {
  padding: 0 15px;
  font-size: 20px;
  outline: none;
  text-align: left;
  line-height: 60px;
  width: 42vw;
  margin-top: 25px;
  margin-bottom: 25px;
  border: none;
  border: 1px solid #ccc;
}
body .search-btn {
  height: 100%;
  padding: 0 25px;
  border: none;
  background: #1890ff;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background-color 0.3s ease;
}
body .cart-btn {
  background-color: #f70303;
  font-size: 16px;
  line-height: 47px;
  margin-top: 25px;
  margin-bottom: 25px;
  margin-right: 20px;
  width: 100px;
  border-radius: 5px;
}
body .order-btn {
  color: white;
  font-size: 16px;
  line-height: 48px;
  margin-top: 25px;
  margin-bottom: 25px;
  width: 100px;
  background: #1E9FFF;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
}
body .order-btn:hover {
  background: #e8e8e8;
}
body .layui-menu-body-title {
  height: 45px;
  line-height: 45px;
  position: relative;
  padding: 0px 15px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}
body .layui-menu-body-title:hover {
  background-color: #f5f5f5;
  color: #ff5000;
}
body .layui-icon-right {
  position: absolute;
  right: 15px;
  font-size: 12px;
  color: #999;
  transition: transform 0.3s;
}
body .layui-carousel [carousel-item] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 保持图片比例并填充容器 */
}
body .container {
  width: 80vw;
  height: 1000px;
  margin: 0 auto ;
}
body .container .containerHeader {
  width: 80vw;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
}
body .title {
  font-size: 30px;
  border-bottom: 2px solid #333;
  line-height: 80px;
  font-weight: 700;
}
body .booksItem {
  width: 16vw;
  height: 48vh;
  border-left: 1px solid #b4a9a9;
  border-bottom: 1px solid gray;
  box-sizing: border-box;
  padding: 2vh 1.5vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
body .booksItem img {
  width: 13vw;
}
body .booksItem .booksInfo {
  color: #999;
  font-size: 11px;
}
body .booksItem:nth-child(5n) {
  border-right: 1px solid green;
}
body .booksPrice {
  color: #ff2832;
  font-weight: 700;
}
body .booksList {
  display: flex;
  flex-wrap: wrap;
}
body .footer {
  width: 100vw;
  border-top: 2px solid red;
  margin-top: 8vh;
  text-align: center;
}
body .footer .footerBG {
  width: 100vw;
  height: 10vh;
  background-color: #fafafa;
}
body .footer .footerBG img {
  height: 10vh;
}
body .footer .footerList {
  width: 100vw;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
  padding: 3vh 10vw;
  display: flex;
  justify-content: space-around;
}
body .footer .footerList li {
  color: #7d7d7d;
}
body .footer .footerList li:first-child {
  font-weight: 700;
  font-size: 16px;
  line-height: 30px;
  color: #000;
}
body .footer .footerInfo {
  display: flex;
  padding: 3vh 18vw;
  justify-content: center;
  color: #8c8c8c;
}
body .footer .footerInfo .InfoItem {
  border-right: 1px solid grey;
  padding: 0 1vw;
}
body .footer .footerInfo .InfoItem:last-child {
  border: none;
}
body .footer .footerCopyright {
  color: #8c8c8c;
  margin-bottom: 10px;
}
body .footer .DesItem {
  display: flex;
  justify-content: center;
  padding: 0vh 10vw;
  color: #ccc;
}
body .footer .Des {
  padding: 0 1vw;
  border-right: 1px solid #ccc;
  color: #8c8c8c;
}
body .footer .Des:last-child {
  border: none;
}
body .footerDes {
  color: #8c8c8c;
}
body .cart-btn {
  color: white;
}
body .mulu {
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  padding: 0 15px;
  background-color: red;
  line-height: 60px;
  box-sizing: border-box;
}
body .SalePrice {
  color: #666;
  margin-left: 10px;
  font-size: 12px;
}
body .sale {
  display: flex;
  align-items: center;
}
body .progress {
  height: 10px;
  width: 13vw;
  background-color: #ffb7b7;
}
body .empty5 {
  height: 15px;
}
body .font14 {
  font-size: 14px!important;
}
body .colorRed {
  color: red!important;
}
body .time {
  color: red;
}
body #mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  /* 模糊背景 */
  z-index: 1000;
  display: none;
  /* 默认隐藏 */
  align-items: center;
  justify-content: center;
}
body #mask.show {
  display: flex;
}
body .maskContent.loginBox {
  background: #fff;
  width: 100%;
  max-width: 400px;
  padding: 30px 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.3s ease-out;
}
body .loginTitleBox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
body .loginTitle {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}
body .loginClose {
  cursor: pointer;
  font-size: 20px;
  color: #888;
  transition: color 0.3s ease;
}
body .loginClose:hover {
  color: #ff4d4f;
}
body .loginContent {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
body .loginInput input {
  width: 92%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}
body .loginInput input:focus {
  outline: none;
  border-color: #1E9FFF;
  box-shadow: 0 0 5px rgba(30, 159, 255, 0.5);
}
body .loginBtn button {
  width: 100%;
  padding: 12px 0;
  background-color: #1E9FFF;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
body .loginBtn button:hover {
  background-color: #0d8ae6;
  transform: translateY(-2px);
}
body .loginBtn .register-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
body .loginBtn #loginBtn {
  color: #888;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.3s ease;
}
body .loginBtn #loginBtn:hover {
  color: #1E9FFF;
}
body .loginBtn button.register-btn {
  background-color: #fff;
  color: #1E9FFF;
  border: 1px solid #1E9FFF;
  padding: 12px 0;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
body .loginBtn button.register-btn:hover {
  background-color: #1E9FFF;
  color: #fff;
  border-color: #1E9FFF;
}
